<?php
//PLUGIN type=action
//PLUGIN name=library.image.delete
//PLUGIN desc=Enables you to remove images from library
//PLUGIN group=native
if(!empty($options['image']) ) {
    if(unlink(_LIBRARYPATH_ . "/images" . $options['image']))
        print "OK";
    else
        print "FAILURE";
}
exit();
?>